package com.mycinema.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mycinema.dao.UserDao;
import com.mycinema.entity.User;
import com.mycinema.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserDao userDao;
	@Override
	public User checkLogin(String username, String password) {
		
		return userDao.checkLogin(username, password);
	}

}
